package cn.hxzy.mapper;


import cn.hxzy.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    @Select("SELECT user_id \n" +
            "FROM sys_user\n" +
            "WHERE nick_name =#{userName}")
    List<Integer> getUserIdByUserName(String userName);
}
